package org.edu.modules.stu.jis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.edu.common.base.BaseEntity;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-班主任表
 */
@TableName("ve_base_banji_bzr")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="班主任表对象", description="ve_base_banji_bzr")
public class VeBaseBanjiBzr  implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    @TableField
    @ApiModelProperty(value = "班级id")
        private Integer bjid;

    @TableField
    @ApiModelProperty(value = "班主任userId")
        private Integer bzruserid;

    @TableField
    @ApiModelProperty(value = "班主任姓名")
    @Length(max = 50)
        private String bzrusername;

    @TableField
    @ApiModelProperty(value = "设置时间")
        private Integer createtime;

    @TableField
    @ApiModelProperty(value = "终端ID")
        private Integer terminalid;

    @TableField
    @ApiModelProperty(value = "是否当前")
        private Integer iscurrent;

    @TableField
    @ApiModelProperty(value = "创建用户")
        private Integer createuserid;

    @TableField
    @ApiModelProperty(value = "")
        private Integer startdate;

    @TableField
    @ApiModelProperty(value = "")
        private Integer enddate;
}
